package tianrun.ziguan.api.calculate.config.entity;

import com.baomidou.mybatisplus.annotation.*;
import tianrun.ziguan.api.calculate.config.entity.base.BaseTemplateModule;

import java.io.Serializable;

@TableName("t_edge_input_module")
public class TEdgeInputModule extends BaseTemplateModule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    private String description;

    @TableField("template_id")
    private Long templateId;

    @TableLogic(value = "true", delval = "false")
    @TableField("is_valid")
    private Boolean isValid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public Boolean getIsValid() {
        return isValid;
    }

    public void setIsValid(Boolean isValid) {
        this.isValid = isValid;
    }
}
